import { register, login, refresh, self } from "@/api/auth";
import { getByParams } from "@/api/test";

/**
 * 接口注册表
 * @returns
 */
export const API = () => {
  const authAPI = {
    register,
    login,
    refresh,
    self,
  };

  const testAPI = { getByParams };

  return {
    authAPI,
    testAPI,
  };
};
